package com.qingmi.farmer.viewmodel;

import android.databinding.ObservableField;

import com.qingmi.farmer.R;
import com.wjjun.basemvpvm.viewmodel.BaseViewModel;

/**
 * 广告
 * Created by 67535 on 2018/5/1.
 */
public class AdViewModel extends BaseViewModel {

    public final ObservableField<String> icon = new ObservableField<>();
    public String id;
    public int action;
    public String url;

    public AdViewModel(String icon, int action, String id, String url) {
        this.icon.set(icon);
        this.action = action;
        this.id = id;
        this.url = url;
    }

}
